<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/6/8
  Time: 15:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>

    <form action="${pageContext.request.contextPath}/otherUpload" method="post" enctype="multipart/form-data">
        商品名称:<input type="text" name="pname"/><br/>
        <%--文件上传组件:type="file"--%>
        上传图片:<input type="file" name="file"><br/>
        <input type="submit" value="保存提交"/>
    </form>
</body>
</html>
